ImageLines
ImageLines[image] finds line segments in image and returns the coordinates of their endpoints.
ImageLines[image,t] uses the threshold t for selecting image lines.
ImageLines[image,t,d] uses the parameter d to control the distinctness of the detected lines.
ImageLines[video,…] finds lines in frames of video.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.